﻿package {
	import PaperBase;
	import flash.display.*;
	import org.papervision3d.objects.DisplayObject3D;
	import org.papervision3d.objects.parsers.Collada;
	public class Main extends PaperBase {
	   public var cow:DisplayObject3D;
	   public function Main() {
		 init();
	   }
	   override protected function init3d():void {
		 //cow = new Collada("http://papervision2.com/wp-content/downloads/dae/cow.dae");
		 cow = new Collada("models/test.dae");
		 cow.moveDown(50);
		 cow.scale = 1;
		 cow.pitch(-30);
		 default_scene.addChild(cow);
		 current_camera.zoom = 2
	   }
	   override protected function processFrame():void {
		 cow.yaw(1);
	   }
	}
}